gtk4.git
22 years agoUpdated Polish translation.
Artur Flinta [Thu, 19 Feb 2004 17:12:41 +0000 (17:12 +0000)]
Updated Polish translation.

2004-02-19  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation.

22 years agoReviewed Serbian translation.
Danilo Šegan [Thu, 19 Feb 2004 10:24:40 +0000 (10:24 +0000)]
Reviewed Serbian translation.

22 years agoMake the entire expander widget width prelight as suggested by Seth in bug
Mark McLoughlin [Thu, 19 Feb 2004 08:52:16 +0000 (08:52 +0000)]
Make the entire expander widget width prelight as suggested by Seth in bug

2004-02-19  Mark McLoughlin  <mark@skynet.ie>

        Make the entire expander widget width prelight as suggested
        by Seth in bug #134263.

        * gtk/gtkexpander.c:
        (gtk_expander_paint_prelight): impl.
        (gtk_expander_paint): use it.
        (gtk_expander_redraw_expander): don't only redraw the
        arrow when prelit.

22 years agoRemove old file-system property. Add new file-system-backend string
Alexander Larsson [Thu, 19 Feb 2004 07:43:39 +0000 (07:43 +0000)]
Remove old file-system property. Add new file-system-backend string

2004-02-19  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkfilechooser.c: (gtk_file_chooser_class_init):
* gtk/gtkfilechooserutils.c:
* gtk/gtkfilechooserutils.h:
* gtk/gtkfilechooserwidget.c:
Remove old file-system property.
Add new file-system-backend string property

* gtk/gtkfilechooserdefault.[ch]:
Handle the file-system-backend property

* gtk/gtkfilechooserdialog.[ch]:
(gtk_file_chooser_dialog_new_with_backend):
Remove old file-system property.
Add new file-system-backend string property
Add new function gtk_file_chooser_dialog_new_with_backend

* gtk/gtkfilesystem.c:
* gtk/gtkfilesystem.h:
Add filesystem module support.

22 years agoRenamed from create_shortcuts_tree(). (shortcuts_pane_create): New
Federico Mena Quintero [Thu, 19 Feb 2004 03:22:22 +0000 (03:22 +0000)]
Renamed from create_shortcuts_tree(). (shortcuts_pane_create): New

2004-02-18  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (shortcuts_tree_create): Renamed
from create_shortcuts_tree().
(shortcuts_pane_create): New function.
(button_new): Renamed from toolbar_button_new().
(shortcuts_pane_create): New function, create the whole shortcuts
pane here.
(current_folder_create): Renamed from toolbar_create().  Don't
create the bookmarks buttons here.
(file_pane_create): New function.
(gtk_file_chooser_default_constructor): Use the new helper
functions, and don't use an extra vbox as GtkFileChooserDefault is
already a vbox.

22 years agoAdd default handlers for all signals; for consistency and for the benefit
Matthias Clasen [Thu, 19 Feb 2004 00:38:23 +0000 (00:38 +0000)]
Add default handlers for all signals; for consistency and for the benefit

Thu Feb 19 01:39:30 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.h:
* gtk/gtkuimanager.c (gtk_ui_manager_class_init): Add
default handlers for all signals; for consistency and for the
benefit of language bindings which still rely on header parsing
to find the signals.  (#134269, Jeroen Zwartepoorte)

22 years agoImprove the efficiency here by prepending on the list and reverting it
Matthias Clasen [Wed, 18 Feb 2004 23:42:46 +0000 (23:42 +0000)]
Improve the efficiency here by prepending on the list and reverting it

Thu Feb 19 00:45:02 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
Improve the efficiency here by prepending on the list and reverting
it after the loop.  (#133435, Christian Biere)

22 years agoAvoid errors when removing the plug from the socket. (#128546, Christopher
Matthias Clasen [Wed, 18 Feb 2004 23:30:53 +0000 (23:30 +0000)]
Avoid errors when removing the plug from the socket. (#128546, Christopher

Thu Feb 19 00:32:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkplug.c (_gtk_plug_remove_from_socket): Avoid errors when
removing the plug from the socket.  (#128546, Christopher Blizzard)

22 years agoNew convenience functions analogous to similar API on GtkRadioButton.
Matthias Clasen [Wed, 18 Feb 2004 23:08:45 +0000 (23:08 +0000)]
New convenience functions analogous to similar API on GtkRadioButton.

Thu Feb 19 00:09:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkradiomenuitem.h:
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_from_widget):
(gtk_radio_menu_item_new_with_label_from_widget):
(gtk_radio_menu_item_new_with_mnemonic_from_widget): New
convenience functions analogous to similar API on GtkRadioButton.
(#51700, Vitaly Tishkov, patch by Soeren Sandmann)

22 years agoUpdated Portuguese translation.
Duarte Loreto [Wed, 18 Feb 2004 22:53:17 +0000 (22:53 +0000)]
Updated Portuguese translation.

2004-02-18  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

22 years agoUse a scratch GC in the case where the background is a solid color.
Soeren Sandmann [Wed, 18 Feb 2004 17:03:46 +0000 (17:03 +0000)]
Use a scratch GC in the case where the background is a solid color.

Wed Feb 18 17:53:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/gdkwindow.c (gdk_window_get_bg_gc): Use a scratch GC in the
case where the background is a solid color.
(gdk_window_clear_backing_rect): Reset the clip region after use.

* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Go
back to using a scratch GC. Pointed out by Owen Taylor

* gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Only use a
scratch GC if the passed-in one is NULL

22 years agoReset clip region back to NULL on cached GC (rest of #134728)
Soeren Sandmann [Wed, 18 Feb 2004 13:52:12 +0000 (13:52 +0000)]
Reset clip region back to NULL on cached GC (rest of #134728)

Wed Feb 18 14:27:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
region back to NULL on cached GC (rest of #134728)

22 years agoFix bug reported by Nam SungHyun.
Soeren Sandmann [Wed, 18 Feb 2004 12:43:23 +0000 (12:43 +0000)]
Fix bug reported by Nam SungHyun.

Wed Feb 18 13:28:57 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

Fix bug reported by Nam SungHyun.

* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
Don't use a cached GC here since the function needs to modify the
foreground color.

* gdk/gdkwindow.c (gdk_window_end_paint): Reset clip region back
to NULL on the cached GC.

22 years agoUse HIG-compliant spacings. This sucks a lot.
Federico Mena Quintero [Wed, 18 Feb 2004 03:59:15 +0000 (03:59 +0000)]
Use HIG-compliant spacings. This sucks a lot.

2004-02-17  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdialog.c
(gtk_file_chooser_dialog_style_set): Use HIG-compliant spacings.
This sucks a lot.

22 years agoAdd a missing semicolon to an entity.
Federico Mena Quintero [Wed, 18 Feb 2004 02:54:11 +0000 (02:54 +0000)]
Add a missing semicolon to an entity.

2004-02-17  Federico Mena Quintero  <federico@ximian.com>

* gtk/migrating-checklist.sgml: Add a missing semicolon to an
entity.

22 years agoDocument some peculiarities of the ::delete_range signal. (#132135, Grant
Matthias Clasen [Wed, 18 Feb 2004 01:05:41 +0000 (01:05 +0000)]
Document some peculiarities of the ::delete_range signal. (#132135, Grant

Wed Feb 18 02:03:47 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Document some
peculiarities of the ::delete_range signal.  (#132135, Grant Gayed)

22 years agoGC caching, bug #125645 (based on patch by Brian Cameron)
Soeren Sandmann [Wed, 18 Feb 2004 00:59:14 +0000 (00:59 +0000)]
GC caching, bug #125645 (based on patch by Brian Cameron)

Wed Feb 18 01:44:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

GC caching, bug #125645 (based on patch by Brian Cameron)

* gdk/gdkscreen.h (struct _GdkScreen): Add GC cache
* gdk/gdkscreen.c (gdk_screen_dispose): New function. Unref the
cached GC's here.
* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): New function to
get a scratch gc.
* gdk/gdkinternals.h: Declare the function here

* gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Use
_gdk_drawable_get_scratch_gc() instead of creating a new GC.
* gdk/x11/gdkgeometry-x11.c (gdk_window_copy_area_scroll): same
* gdk/x11/gdkdrawable-x11.c (draw_with_images): same
* gdk/gdkwindow.c (gdk_window_get_composite_drawable): same
* gdk/gdkwindow.c (gdk_window_end_paint): same
* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): same
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): same
* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap): same

22 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 17 Feb 2004 23:58:10 +0000 (23:58 +0000)]
Updated Norwegian translation.

2004-02-18  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

22 years agoUpdated Danish translation.
Ole Laursen [Tue, 17 Feb 2004 23:06:38 +0000 (23:06 +0000)]
Updated Danish translation.

2004-02-18  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

22 years ago...and don't forget to initalize priv->columns to 1.
Matthias Clasen [Tue, 17 Feb 2004 22:25:13 +0000 (22:25 +0000)]
...and don't forget to initalize priv->columns to 1.

Tue Feb 17 23:28:33 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c (gtk_menu_init): ...and don't forget to initalize
priv->columns to 1.

22 years agoMake sure that we keep priv->columns >= 1 even for empty menus, since we
Matthias Clasen [Tue, 17 Feb 2004 22:16:02 +0000 (22:16 +0000)]
Make sure that we keep priv->columns >= 1 even for empty menus, since we

Tue Feb 17 23:11:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c (gtk_menu_do_remove): Make sure that we keep
priv->columns >= 1 even for empty menus, since we divide by it
somewhere else.  (#133428, Vincent Noel)

22 years agoFix for #119722, reported by Olexiy Avramchenko, patch by Owen Taylor.
Soeren Sandmann [Tue, 17 Feb 2004 22:05:47 +0000 (22:05 +0000)]
Fix for #119722, reported by Olexiy Avramchenko, patch by Owen Taylor.

Tue Feb 17 23:02:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

Fix for #119722, reported by Olexiy Avramchenko, patch by Owen
Taylor.

* gdk/x11/gdkprivate-x11.h (struct _GdkGCX11): Add a depth field

* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Keep track of the GC's
depth.

* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_fg_xft_color): First query
the colormap, if no colormap, special case depth 1,

* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Use
_gdk_gc_x11_get_fg_xft_color() to get the foreground color.

* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xft_draw):
Special-case bitmaps without a colormap.

* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Use inherited
draw_pixbuf() implementation in the bitmap case.

22 years agoUpdated Mongolian translation
Sanlig Badral [Tue, 17 Feb 2004 20:54:01 +0000 (20:54 +0000)]
Updated Mongolian translation

22 years agoA forgotten file.
Matthias Clasen [Tue, 17 Feb 2004 20:48:25 +0000 (20:48 +0000)]
A forgotten file.

22 years agoonly reference input method modules we've actually built. Fixes re-build
Mark McLoughlin [Tue, 17 Feb 2004 15:24:25 +0000 (15:24 +0000)]
only reference input method modules we've actually built. Fixes re-build

2004-02-17  Mark McLoughlin  <mark@skynet.ie>

        * modules/input/Makefile.am: only reference input method
        modules we've actually built. Fixes re-build failure with
        stale hangul module lying aroung. Bug #134518.

22 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 17 Feb 2004 09:45:12 +0000 (09:45 +0000)]
Translation updated by Tino Meinen.

2004-02-17  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

22 years agoUpdated Thai translation.
Paisa Seeluangsawat [Tue, 17 Feb 2004 03:22:33 +0000 (03:22 +0000)]
Updated Thai translation.

2003-02-16  Paisa Seeluangsawat  <paisa@users.sf.net>

* th.po: Updated Thai translation.

22 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Tue, 17 Feb 2004 01:30:05 +0000 (01:30 +0000)]
Updated Spanish translation.

2004-02-17  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

22 years agoRevert last commit, please don't commit patches without approval, this
Owen Taylor [Tue, 17 Feb 2004 00:16:42 +0000 (00:16 +0000)]
Revert last commit, please don't commit patches without approval, this

Mon Feb 16 19:13:21 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdraw.c: Revert last commit, please don't commit patches
        without approval, this isn't the right way to do it.

22 years agodon't try to draw more than 32767 segments at a time, since XDrawSegments
David Odin [Mon, 16 Feb 2004 22:59:26 +0000 (22:59 +0000)]
don't try to draw more than 32767 segments at a time, since XDrawSegments

* gdk/gdkdraw.c (gdk_draw_segments): don't try to draw more than 32767
segments at a time, since XDrawSegments cannot handle more than this.

fixes bug #122026.

22 years agoUmm, I'm on crack. Use gtk_accelerator_get_default_mod_mask().
Federico Mena Quintero [Mon, 16 Feb 2004 19:55:18 +0000 (19:55 +0000)]
Umm, I'm on crack. Use gtk_accelerator_get_default_mod_mask().

2004-02-16  Federico Mena Quintero  <federico@ximian.com>

* gtk/migrating-checklist.sgml: Umm, I'm on crack.  Use
gtk_accelerator_get_default_mod_mask().

* gdk/tmpl/windows.sgml: Removed the incorrect description from
GDK_MODIFIER_MASK.

22 years agoFix ChangeLog
Søren Sandmann Pedersen [Mon, 16 Feb 2004 19:30:50 +0000 (19:30 +0000)]
Fix ChangeLog

22 years agoCall gtk_tool_item_set_expand(), not gtk_tool_item_set_homogeneous() in
Soeren Sandmann [Mon, 16 Feb 2004 19:16:03 +0000 (19:16 +0000)]
Call gtk_tool_item_set_expand(), not gtk_tool_item_set_homogeneous() in

Mon Feb 16 18:26:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_set_child_property): Call
gtk_tool_item_set_expand(), not gtk_tool_item_set_homogeneous()
in the CHILD_PROP_EXPAND branch. (#134545, Damon Chaplin)

22 years agoAdded an example of how to use GDK_MODIFIER_MASK to test for modifier keys
Federico Mena Quintero [Mon, 16 Feb 2004 19:00:16 +0000 (19:00 +0000)]
Added an example of how to use GDK_MODIFIER_MASK to test for modifier keys

2004-02-16  Federico Mena Quintero  <federico@ximian.com>

* gdk/tmpl/windows.sgml: Added an example of how to use
GDK_MODIFIER_MASK to test for modifier keys correctly.

* gtk/migrating-checklist.sgml: Likewise.

22 years agoOops - Federico
Federico Mena Quintero [Mon, 16 Feb 2004 18:29:36 +0000 (18:29 +0000)]
Oops - Federico

22 years agoLittle addition to the modifiers example - Federico
Federico Mena Quintero [Mon, 16 Feb 2004 18:22:24 +0000 (18:22 +0000)]
Little addition to the modifiers example - Federico

22 years agoAdded an example of how to use GDK_MODIFIER_MASK to test for modifier keys
Federico Mena Quintero [Mon, 16 Feb 2004 18:12:43 +0000 (18:12 +0000)]
Added an example of how to use GDK_MODIFIER_MASK to test for modifier keys

2004-02-16  Federico Mena Quintero  <federico@ximian.com>

* gdk/tmpl/windows.sgml: Added an example of how to use
GDK_MODIFIER_MASK to test for modifier keys correctly.

22 years agoUpdated Thai (th) translation.
Paisa Seeluangsawat [Mon, 16 Feb 2004 16:17:53 +0000 (16:17 +0000)]
Updated Thai (th) translation.

2003-02-16  Paisa Seeluangsawat  <paisa@users.sf.net>

* th.po: Updated Thai (th) translation.

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 16 Feb 2004 10:45:15 +0000 (10:45 +0000)]
Updated Swedish translation.

2004-02-16  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Mon, 16 Feb 2004 09:57:40 +0000 (09:57 +0000)]
Updated Polish translation by GNOME PL Team.

2004-02-16  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

22 years agoUpdated Albanian translation
Laurent Dhima [Mon, 16 Feb 2004 09:44:54 +0000 (09:44 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

22 years agoUpdated
Laurent Dhima [Mon, 16 Feb 2004 09:43:27 +0000 (09:43 +0000)]
Updated

22 years agoUpdate Czech translation
Miloslav Trmac [Mon, 16 Feb 2004 08:10:54 +0000 (08:10 +0000)]
Update Czech translation

22 years agoSplit declaration and assignment of combo_box.
Matthias Clasen [Sun, 15 Feb 2004 23:05:48 +0000 (23:05 +0000)]
Split declaration and assignment of combo_box.

Mon Feb 16 00:04:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_*):
Split declaration and assignment of combo_box.

* gtk/gtkcombobox.c (gtk_combo_box_list_setup): Remove a
pointless cast

22 years agoAdd short descriptions.
Matthias Clasen [Sun, 15 Feb 2004 22:47:41 +0000 (22:47 +0000)]
Add short descriptions.

Sun Feb 15 23:51:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkcomboboxentry.sgml:
* gtk/tmpl/gtkcombobox.sgml: Add short descriptions.

22 years agoAdd deprecation notes pointing people to GtkComboBox.
Matthias Clasen [Sun, 15 Feb 2004 21:06:53 +0000 (21:06 +0000)]
Add deprecation notes pointing people to GtkComboBox.

22 years agoTranslation updated.
Mətin Əmirov [Sun, 15 Feb 2004 13:26:45 +0000 (13:26 +0000)]
Translation updated.

2004-02-15  Mətin Əmirov  <metin@karegen.com>

* az.po: Translation updated.

22 years agoDocument the tree DND API.
Matthias Clasen [Sun, 15 Feb 2004 01:47:05 +0000 (01:47 +0000)]
Document the tree DND API.

Sun Feb 15 02:49:45 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreednd.c:
* gtk/gtktreeview.c: Document the tree DND API.

* gtk/gtktreeview.c (gtk_tree_view_unset_rows_drag_source):
Call gtk_drag_source_unset().

22 years agoMake stock_size an uint property, to allow custom icon sizes. Also clarify
Matthias Clasen [Sat, 14 Feb 2004 23:58:50 +0000 (23:58 +0000)]
Make stock_size an uint property, to allow custom icon sizes. Also clarify

Sun Feb 15 00:49:59 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
Make stock_size an uint property, to allow custom icon
sizes. Also clarify the blurb.  (#130047, Erik Grinaker)

22 years agoRemove unnecessary STRIP_* definitions, and GNU make check.
Manish Singh [Sat, 14 Feb 2004 19:21:51 +0000 (19:21 +0000)]
Remove unnecessary STRIP_* definitions, and GNU make check.

Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
        make check.

22 years agoDon't set a default size for the dialog - Federico
Federico Mena Quintero [Sat, 14 Feb 2004 02:11:47 +0000 (02:11 +0000)]
Don't set a default size for the dialog - Federico

22 years agoRemove duplicated section for file gtktreednd.sgml.
Matthias Clasen [Sat, 14 Feb 2004 02:06:36 +0000 (02:06 +0000)]
Remove duplicated section for file gtktreednd.sgml.

Sat Feb 14 03:09:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-sections.txt: Remove duplicated section for
file gtktreednd.sgml.

22 years agoDuh, duh, duh! Don't bail out if the bookmarks file doesn't exist the very
Federico Mena Quintero [Sat, 14 Feb 2004 02:00:40 +0000 (02:00 +0000)]
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist the very

2004-02-13  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
Duh, duh, duh!  Don't bail out if the bookmarks file doesn't exist
the very first time you try to save one.

22 years agoFix #129020.
Federico Mena Quintero [Sat, 14 Feb 2004 01:23:58 +0000 (01:23 +0000)]
Fix #129020.

2004-02-13  Federico Mena Quintero  <federico@ximian.com>

Fix #129020.

* gtk/gtkfilechooserdialog.c
(set_default_size): New function, sets a reasonable default size
for the window.
(gtk_file_chooser_dialog_realize): New function, call
set_default_size().
(gtk_file_chooser_dialog_style_set): Likewise.
(gtk_file_chooser_dialog_screen_changed): Likewise.

* tests/testfilechooser.c (main): Don't set a default size for the
dialog.

22 years agoUse do instead of while. (#134031, Morten Welinder);
Matthias Clasen [Fri, 13 Feb 2004 23:02:58 +0000 (23:02 +0000)]
Use do instead of while. (#134031, Morten Welinder);

Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while.  (#134031, Morten Welinder);

22 years agoSuppress xsltproc and xmlcatalog checks if enable_man=no. (#134162, Julio
Matthias Clasen [Fri, 13 Feb 2004 22:58:26 +0000 (22:58 +0000)]
Suppress xsltproc and xmlcatalog checks if enable_man=no. (#134162, Julio

Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Suppress xsltproc and xmlcatalog checks
if enable_man=no.  (#134162, Julio M. Merino Vidal)

22 years agoRemove checks for sgml2html. It was once used for building the linuxdoc
Matthias Clasen [Fri, 13 Feb 2004 22:53:11 +0000 (22:53 +0000)]
Remove checks for sgml2html. It was once used for building the linuxdoc

Fri Feb 13 23:54:48 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Remove checks for sgml2html. It was once
used for building the linuxdoc version of the tutorial.
Nowadays, we use db2html.  (#134164, Julio M. Merino Vidal)

22 years agoRemove a couple of unneeded #includes. Isn't unsupported code fun?
Owen Taylor [Fri, 13 Feb 2004 15:38:40 +0000 (15:38 +0000)]
Remove a couple of unneeded #includes. Isn't unsupported code fun?

Fri Feb 13 10:32:09 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-xlibrgb.h: Remove a couple of unneeded
        #includes. Isn't unsupported code fun?
        (133833, Gregory Merchan)

22 years agoUpdated Norwegian translation.
Kjartan Maraas [Fri, 13 Feb 2004 15:09:10 +0000 (15:09 +0000)]
Updated Norwegian translation.

2004-02-13  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

22 years agoFix various compilation problems (#134312, David Hawthorne)
Owen Taylor [Fri, 13 Feb 2004 13:21:10 +0000 (13:21 +0000)]
Fix various compilation problems (#134312, David Hawthorne)

Fri Feb 13 08:17:43 2004  Owen Taylor  <otaylor@redhat.com>

        Fix various compilation problems (#134312, David
        Hawthorne)

        * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Use
        g_return_if_fail(), not g_return_val_if_fail().

        * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets):
        * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Use
        g_return_if_reached(), not g_return_val_if_reached().

        * gtk/gtkvscale.c (gtk_vscale_expose): Fix the types
        of some parameters.

        * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Remove
        extra 'scale' parameter.

22 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Fri, 13 Feb 2004 11:07:22 +0000 (11:07 +0000)]
Updated Polish translation by GNOME PL Team.

2004-02-13  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

22 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Fri, 13 Feb 2004 05:39:46 +0000 (05:39 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

22 years agoVarious reentrancy fixes for widgets being destroyed out of
Owen Taylor [Fri, 13 Feb 2004 03:03:21 +0000 (03:03 +0000)]
Various reentrancy fixes for widgets being destroyed out of

Thu Feb 12 21:58:20 2004  Owen Taylor  <otaylor@redhat.com>

        Various reentrancy fixes for widgets being destroyed
        out of focus-out-event. (#128821, Grant Gayed)

        * gtk/gtkwindow.c (_gtk_window_unset_focus_and_default):
        Ref window and widget over callbacks.

        * gtk/gtkwidget.c (gtk_widget_hide)
          gtk/gtkwidget.c (gtk_widget_set_child_visible):
        Ref the widget before calling _gtk_window_unset_focus_and_default(),
        since that can call user callbacks.

        * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
        Do nothing if the widget isn't realized.

22 years agoDon't draw bevels around active, RELIEF_NONE buttons that aren't
Matthias Clasen [Fri, 13 Feb 2004 00:31:19 +0000 (00:31 +0000)]
Don't draw bevels around active, RELIEF_NONE buttons that aren't

Fri Feb 13 01:31:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkbutton.c (_gtk_button_paint): Don't draw bevels around
active, RELIEF_NONE buttons that aren't depressed. This improves
the appearance of buttons in notebook tabs.  (#109213, reported
by Benjamin Otte, patch by Rodney Dawes)

22 years agoProtect getc_unlocked() by HAVE_FLOCKFILE in all cases. (#134205, Julio M.
Matthias Clasen [Fri, 13 Feb 2004 00:03:35 +0000 (00:03 +0000)]
Protect getc_unlocked() by HAVE_FLOCKFILE in all cases. (#134205, Julio M.

Fri Feb 13 01:06:08 2004  Matthias Clasen  <maclas@gmx.de>

* demos/gtk-demo/main.c (read_line): Protect getc_unlocked() by
HAVE_FLOCKFILE in all cases.  (#134205, Julio M. Merino Vidal)

22 years agoFix for #104811, Padraig O'Briain:
Matthias Clasen [Thu, 12 Feb 2004 23:58:46 +0000 (23:58 +0000)]
Fix for #104811, Padraig O'Briain:

Fri Feb 13 00:54:59 2004  Matthias Clasen  <maclas@gmx.de>

Fix for #104811, Padraig O'Briain:

* gtk/gtkscale.h:
* gtk/gtkscale.c (_gtk_scale_clear_layout):
* gtk/gtkscale.c (gtk_scale_get_layout_offsets):
* gtk/gtkscale.c (gtk_scale_get_layout): New functions to determine the
text and its position from a GtkScale, to make it more accessible.
* gtk/gtkhscale.c (gtk_hscale_get_layout_offsets):
* gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): Implementations of the
new GtkScale vfunc.

22 years agoRemove an extraneous + 1 (#134015, Torsten Schoenfeld)
Owen Taylor [Thu, 12 Feb 2004 23:06:30 +0000 (23:06 +0000)]
Remove an extraneous + 1 (#134015, Torsten Schoenfeld)

Thu Feb 12 17:59:52 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path):
        Remove an extraneous + 1 (#134015, Torsten Schoenfeld)

22 years agoNew function to improve the accessibility of tooltips. (#114851, Padraig
Matthias Clasen [Thu, 12 Feb 2004 22:57:56 +0000 (22:57 +0000)]
New function to improve the accessibility of tooltips. (#114851, Padraig

Thu Feb 12 23:55:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktooltips.h:
* gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): New
function to improve the accessibility of tooltips.  (#114851,
Padraig O'Briain)

22 years agoMake these public and add docs.
Matthias Clasen [Thu, 12 Feb 2004 22:27:50 +0000 (22:27 +0000)]
Make these public and add docs.

Thu Feb 12 23:16:04 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_popup):
* gtk/gtkcombobox.c (gtk_combo_box_popdown): Make these public and
add docs.

22 years agoUpdated Italian translation by Alessio Dessi`.
Alessio Frusciante [Thu, 12 Feb 2004 19:57:09 +0000 (19:57 +0000)]
Updated Italian translation by Alessio Dessi`.

22 years agoAssign xtype using gdk_x11_atom_to_xatom_for_display () when type !=
Manish Singh [Thu, 12 Feb 2004 19:18:23 +0000 (19:18 +0000)]
Assign xtype using gdk_x11_atom_to_xatom_for_display () when type !=

Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
        gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.

        * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
        gdk_property_get call instead of 0.

        * docs/reference/gdk/tmpl/properties.sgml: Document the above
        as GDK_NONE instead of simply 0.

22 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Thu, 12 Feb 2004 15:38:18 +0000 (15:38 +0000)]
Updated Spanish translation.

2004-02-12  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

22 years agoUpdate Czech translation
Miloslav Trmac [Thu, 12 Feb 2004 14:52:18 +0000 (14:52 +0000)]
Update Czech translation

22 years agoFix up item_area correctly in RTL mode. (#133984, patch from Semion
Soeren Sandmann [Thu, 12 Feb 2004 14:49:37 +0000 (14:49 +0000)]
Fix up item_area correctly in RTL mode. (#133984, patch from Semion

Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
correctly in RTL mode. (#133984, patch from Semion Chichelnitsky).

22 years agoUpdated Albanian translation
Laurent Dhima [Thu, 12 Feb 2004 13:51:56 +0000 (13:51 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

22 years agoUpdated
Laurent Dhima [Thu, 12 Feb 2004 13:50:29 +0000 (13:50 +0000)]
Updated

22 years agoUpdated Swedish translation.
Christian Rose [Thu, 12 Feb 2004 10:09:51 +0000 (10:09 +0000)]
Updated Swedish translation.

2004-02-12  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoCorrect the docs.
Matthias Clasen [Thu, 12 Feb 2004 01:52:26 +0000 (01:52 +0000)]
Correct the docs.

Thu Feb 12 02:22:02 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func):
Correct the docs.

Thu Feb 12 02:00:53 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtktreemodelfilter.sgml:
* gtk/tmpl/gtkentrycompletion.sgml:
* gtk/tmpl/gtkcelllayout.sgml: Additions.

Thu Feb 12 01:27:02 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-sections.txt: Updates.

Thu Feb 12 01:26:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am (IGNORE_HFILES): Add some private headers.

22 years agoUpdated Serbian translation.
Danilo Šegan [Thu, 12 Feb 2004 00:21:00 +0000 (00:21 +0000)]
Updated Serbian translation.

22 years agoReviewed by Aleksandar Urosevic; Updated.
Danilo Šegan [Thu, 12 Feb 2004 00:16:02 +0000 (00:16 +0000)]
Reviewed by Aleksandar Urosevic; Updated.

2004-02-12  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Reviewed by Aleksandar Urosevic; Updated.

* POTFILES.in: Added missing files.

22 years agoCall gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
Matthias Clasen [Thu, 12 Feb 2004 00:15:50 +0000 (00:15 +0000)]
Call gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work

Thu Feb 12 01:17:01 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
for automatic DND.  (#133485, Tommi Komulainen)

22 years agoFix misleading debug output.
Matthias Clasen [Wed, 11 Feb 2004 23:33:59 +0000 (23:33 +0000)]
Fix misleading debug output.

Thu Feb 12 00:37:00 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading
debug output.

22 years agoUpdated Arabic translation.
Arafat Medini [Wed, 11 Feb 2004 21:36:11 +0000 (21:36 +0000)]
Updated Arabic translation.

2004-02-11  Arafat Medini  <lumina@silverpen.de>

        * ar.po: Updated Arabic translation.

22 years agoNew ::map() handler. If no widget has the focus, try to give it to the
Federico Mena Quintero [Wed, 11 Feb 2004 20:25:18 +0000 (20:25 +0000)]
New ::map() handler. If no widget has the focus, try to give it to the

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_map): New ::map()
handler.  If no widget has the focus, try to give it to the
default widget.  If there is no default widget, give it to the
first button.  Fixes the cause for which #59707 was reopened.

22 years agoUpdated German translation.
Christian Neumair [Wed, 11 Feb 2004 17:41:27 +0000 (17:41 +0000)]
Updated German translation.

22 years agoFixes #134051.
Federico Mena Quintero [Wed, 11 Feb 2004 16:54:47 +0000 (16:54 +0000)]
Fixes #134051.

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

Fixes #134051.

* gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field.
(icon_info_new): Don't initialize the ref_count field.

22 years agoShift the array correctly. Fixes #134055, patch by Tosten Schoenfeld
Federico Mena Quintero [Wed, 11 Feb 2004 16:28:22 +0000 (16:28 +0000)]
Shift the array correctly. Fixes #134055, patch by Tosten Schoenfeld

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly.  Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.

22 years agoHandle focus [hv]adjustment correctly when the focus is located deeper
Matthias Clasen [Wed, 11 Feb 2004 01:21:14 +0000 (01:21 +0000)]
Handle focus [hv]adjustment correctly when the focus is located deeper

Wed Feb 11 02:23:39 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle
focus [hv]adjustment correctly when the focus is located deeper
down in the hierarchy.  (#133489)

22 years agoRemove arbitrary low upper limits on the xpad, ypad, width and height
Matthias Clasen [Wed, 11 Feb 2004 01:09:25 +0000 (01:09 +0000)]
Remove arbitrary low upper limits on the xpad, ypad, width and height

Wed Feb 11 02:06:38 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Remove
arbitrary low upper limits on the xpad, ypad, width and height
properties.  (#129696, John Ellis)

Wed Feb 11 01:24:20 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes):
Ugh. Don't try to free ints, even if they're stored in pointers.
(#133997, Morten Welinder)

22 years agoUpdated Finnish translation.
Pauli Virtanen [Tue, 10 Feb 2004 23:15:29 +0000 (23:15 +0000)]
Updated Finnish translation.

2004-02-10  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

22 years agoFree the filters. Fixes #133547, patch by Morten Welinder
Federico Mena Quintero [Tue, 10 Feb 2004 19:48:38 +0000 (19:48 +0000)]
Free the filters. Fixes #133547, patch by Morten Welinder

2004-02-10  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
Free the filters.  Fixes #133547, patch by Morten Welinder
<mortenw@gnome.org>.

22 years agoAvoid triggering an X error when the client->manager_window is
Owen Taylor [Tue, 10 Feb 2004 18:51:19 +0000 (18:51 +0000)]
Avoid triggering an X error when the client->manager_window is

Tue Feb 10 12:02:14 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/xsettings-client.c (read_settings): Avoid
        triggering an X error when the client->manager_window
        is None...makes logs look cleaner.

        * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle
        GDK_NONE to mean AnyPropertyType as documented. (Reported
        by Yu Shao)

        * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window,
        gdk_x11_screen_get_window_manager_name): Fix error trap
        we've been leaking since 2002... (#129538)

22 years agoFixes the entry-related part of #133852.
Federico Mena Quintero [Tue, 10 Feb 2004 18:29:11 +0000 (18:29 +0000)]
Fixes the entry-related part of #133852.

2004-02-10  Federico Mena Quintero  <federico@ximian.com>

Fixes the entry-related part of #133852.

* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
the file part of the entry if the selected item is a folder.

22 years agoFixes #133995, patch by Morten Welinder <mortenw@gnome.org>.
Federico Mena Quintero [Tue, 10 Feb 2004 17:49:14 +0000 (17:49 +0000)]
Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.

2004-02-10  Federico Mena Quintero  <federico@ximian.com>

Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.

* tests/prop-editor.c (create_prop_editor): Free the title.
(object_changed): Free the children list.

22 years agoDocument these functions.
Matthias Clasen [Tue, 10 Feb 2004 01:04:35 +0000 (01:04 +0000)]
Document these functions.

Tue Feb 10 01:58:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment):
* gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document
these functions.

22 years agoupdated translation, changed translation to 'radio' from 'rádio' to
Gustavo Noronha Silva [Tue, 10 Feb 2004 00:01:32 +0000 (00:01 +0000)]
updated translation, changed translation to 'radio' from 'rádio' to

2004-02-09  Gustavo Noronha Silva  <kov@debian.org>

* pt_BR.po: updated translation, changed
  translation to 'radio' from 'rádio' to
  'seleção', to be consistent with glade-2's
  translation.

22 years agoRequest GTK_FILE_INFO_ALL from the file system model, so that arbitrary
Federico Mena Quintero [Mon, 9 Feb 2004 21:58:26 +0000 (21:58 +0000)]
Request GTK_FILE_INFO_ALL from the file system model, so that arbitrary

2004-02-09  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (set_list_model): Request
GTK_FILE_INFO_ALL from the file system model, so that arbitrary
filtering will work.  Perhaps we should have a way of aggregating
info types to the model as filters get installed.

22 years agoUgh. Don't try to free ints, even if they're stored in pointers.
Matthias Clasen [Mon, 9 Feb 2004 21:19:35 +0000 (21:19 +0000)]
Ugh. Don't try to free ints, even if they're stored in pointers.

Mon Feb  9 22:22:19 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
Ugh. Don't try to free ints, even if they're stored in pointers.

22 years agoFix #132256.
Federico Mena Quintero [Mon, 9 Feb 2004 20:31:38 +0000 (20:31 +0000)]
Fix #132256.

2004-02-09  Federico Mena Quintero  <federico@ximian.com>

Fix #132256.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_paths): Read the contents of the
filename entry in both OPEN and SAVE mode.  In multiple-selection
mode, add this to the selection from the file/folder list.
(struct get_paths_closure): Add a path_from_entry field.
(get_paths_foreach): Only add the iterated path if it is not the
same as the path from the entry.

22 years agoIf the folder is already open, add the requested info types to it.
Federico Mena Quintero [Mon, 9 Feb 2004 19:01:25 +0000 (19:01 +0000)]
If the folder is already open, add the requested info types to it.

2004-02-09  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): If
the folder is already open, add the requested info types to it.